<html>
<head>
  <title>Evernote Export</title>
  <basefont face="微软雅黑" size="2" />
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  <meta name="exporter-version" content="Evernote Windows/303788 (zh-CN, DDL); Windows/10.0.10240 (Win64);"/>
  <style>
    body, td {
      font-family: 微软雅黑;
      font-size: 10pt;
    }
  </style>
</head>
<body>
<a name="641"/>

<div>
<span><div align="left" style="min-height: 13pt;"><div><span style="font-size: 48px;"><b>数据字典的实现</b></span></div><div><br/></div><div><span style="font-size: 32px;">1.数据字典的数据库模型：</span></div><table style="border-collapse: collapse; table-layout: fixed;width:969px;" width="481"><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt;width:15.892672858617132%;" width="72">字段：</td><td height="19" style="font-family: 微软雅黑; font-size: 10pt;width:36.119711042311664%;"><br/></td><td height="19" style="font-family: 微软雅黑; font-size: 10pt;width:32.81733746130031%;"><br/></td><td height="19" style="font-family: 微软雅黑; font-size: 10pt;width:15.170278637770899%;"><br/></td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">主键ID</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 129.75pt;" width="173">数据类型（keyword）</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 123pt;" width="164">数据项编号（code）</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">数据项名称（name）</td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">1</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 129.75pt;" width="173">所属单位</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 123pt;" width="164">1</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">北京</td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">2</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 129.75pt;" width="173">所属单位</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 123pt;" width="164">2</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">上海</td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">3</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 129.75pt;" width="173">所属单位</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 123pt;" width="164">3</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">深圳</td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">4</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 129.75pt;" width="173">所属单位</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 123pt;" width="164">4</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">天津</td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">5</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 129.75pt;" width="173">性别</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 123pt;" width="164">1</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">男</td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">6</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 129.75pt;" width="173">性别</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 123pt;" width="164">2</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">女</td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">7</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 129.75pt;" width="173">是否在职</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 123pt;" width="164">1</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">是</td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">8</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 129.75pt;" width="173">是否在职</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 123pt;" width="164">2</td><td height="19" style="font-family: 微软雅黑; font-size: 12pt; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; vertical-align: bottom; height: 14.25pt; width: 54pt;" width="72">否</td></tr><tr><td height="19" style="font-family: 微软雅黑; font-size: 10pt;"><div><br/></div></td><td height="19" style="font-family: 微软雅黑; font-size: 10pt;"><div><br/></div></td><td height="19" style="font-family: 微软雅黑; font-size: 10pt;"><br/></td><td height="19" style="font-family: 微软雅黑; font-size: 10pt;"><div><br/></div></td></tr></table><div><span style="font-size: 32px;">2，在domain中创建持久层（PO对象）</span></div><div align="left" style="min-height: 13pt;"><font color="#646464" face="Consolas"><span style="font-size: 11pt;">@SuppressWarnings</span></font><font face="Consolas"><span style="font-size: 11pt;">(</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;serial&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">)</span></font></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>class</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ElecSystemDDl</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>implements</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">Serializable{</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">Integer</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">seqID</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">keyword</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">Integer</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">Integer getSeqID() {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">seqID</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>void</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">setSeqID(Integer</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">seqID</span></font><font face="Consolas"><span style="font-size: 11pt;">) {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>this</b></span></font><font face="Consolas"><span style="font-size: 11pt;">.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">seqID</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">seqID</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String getKeyword() {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">keyword</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>void</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">setKeyword(String</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">keyword</span></font><font face="Consolas"><span style="font-size: 11pt;">) {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>this</b></span></font><font face="Consolas"><span style="font-size: 11pt;">.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">keyword</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">keyword</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">Integer getDdlCode() {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>void</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">setDdlCode(Integer</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font><font face="Consolas"><span style="font-size: 11pt;">) {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>this</b></span></font><font face="Consolas"><span style="font-size: 11pt;">.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String getDdlName() {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>void</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">setDdlName(String</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font><font face="Consolas"><span style="font-size: 11pt;">) {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>this</b></span></font><font face="Consolas"><span style="font-size: 11pt;">.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div><div><span style="font-size: 11pt;"><span style="font-family: Consolas;"><br/></span></span></div><div><span style="font-size: 32px;">3，编辑domain中的ElecSytemDDl.hbm.xml文件</span></div><div align="left" style="min-height: 13pt;"><div><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt; background: rgb(212, 212, 212);">hibernate-mapping</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">class</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;</i></span></font><font face="Consolas"><span style="font-size: 11pt;"><i><u>cn.baater.elec.domain.ElecSystemDDl</u></i></span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">table</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;Elec_SystemDDl&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">id</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;seqID&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">type</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;integer&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">                  </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">column</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;seqID&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">not-null</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;true&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">column</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">                  </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">generator</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">class</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;increment&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">generator</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">id</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">property</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;keyword&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">type</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;string&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">                  </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">column</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;keyword&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">column</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">property</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">property</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;ddlCode&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">type</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;integer&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">                  </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">column</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;ddlCode&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">column</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">property</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">property</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;ddlName&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">type</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;string&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">                  </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">column</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;ddlName&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">column</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">property</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">class</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div align="left" style="min-height: 13pt;"><div><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt; background: rgb(212, 212, 212);">hibernate-mapping</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div></div></div><div><br/></div><div><span style="font-size: 32px;">4，在hibernate配置文件映射, </span></div><div align="left" style="min-height: 13pt;"><div>               
<div align="left" style="min-height: 13pt;"><div><font color="#008080" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">          &lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">mapping</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">resource</span></font><font face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);"><i>&quot;cn/baater/elec/domain/ElecSystemDDl.hbm.xml&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">/&gt;</span></font></div></div></div><div><br/></div><div>          <b>到这儿，整个domain层就完事儿了。</b></div><div><span style="font-size: 32px;"><br/></span></div><div><span style="font-size: 32px;">5, 在dao层创建接口</span></div><div><br/></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>interface</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">IElecSystemDDlDao</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>extends</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ICommonDao&lt;ElecSystemDDl&gt; {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>final</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>static</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;"><b><i>SERVICE_NAME</i></b></span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;cn.baater.elec.dao.impl.ElecSystemDDlImpl&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div></div><div><br/></div><div><span style="font-size: 32px;">6，在dao的impl中创建实现具体方法的类</span></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>import</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">cn.baater.elec.dao.IElecCommonMsgDao;</span></font></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>import</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">cn.baater.elec.dao.IElecSystemDDlDao;</span></font></div><div align="left" style="min-height: 13pt;"><div><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>import</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">cn.baater.elec.domain.ElecSystemDDl;</span></font></div></div><div align="left" style="min-height: 13pt;"><font color="#646464" face="Consolas"><span style="font-size: 11pt;">@Repository</span></font><font face="Consolas"><span style="font-size: 11pt;">(IElecCommonMsgDao.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;"><b><i>SERVICE_NAME</i></b></span></font><font face="Consolas"><span style="font-size: 11pt;">)   </span></font></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>class</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ElecSystemDDlDaoImpl</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>extends</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">CommonDaoImpl&lt;ElecSystemDDl&gt;</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>implements</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">IElecSystemDDlDao {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div></div><div><br/></div><div><span style="font-size: 32px;">7，在service层创建接口</span></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>interface</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">IElecSystemDDlService {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>final</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>static</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;"><b><i>SERVICE_NAME</i></b></span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;cn.baater.elec.service.impl.ElecSystemDDlssServiceImpl&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div></div><div><span style="font-size: 32px;"><br/></span></div><div><span style="font-size: 32px;">8，在service的实现类中创建具体方法的类文件</span></div><div><br/></div><div align="left" style="min-height: 13pt;"><font color="#646464" face="Consolas"><span style="font-size: 11pt;">@Transactional</span></font><font face="Consolas"><span style="font-size: 11pt;">(readOnly=</span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>true</b></span></font><font face="Consolas"><span style="font-size: 11pt;">)</span></font></div><div align="left" style="min-height: 13pt;"><font color="#646464" face="Consolas"><span style="font-size: 11pt;">@Service</span></font><font face="Consolas"><span style="font-size: 11pt;">(IElecSystemDDlService.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;"><b><i>SERVICE_NAME</i></b></span></font><font face="Consolas"><span style="font-size: 11pt;">)</span></font></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>class</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ElecSystemDDlServiceImpl</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>implements</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">IElecSystemDDlService {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#646464" face="Consolas"><span style="font-size: 11pt;">@Resource</span></font><font face="Consolas"><span style="font-size: 11pt;">(name=IElecSystemDDlDao.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;"><b><i>SERVICE_NAME</i></b></span></font><font face="Consolas"><span style="font-size: 11pt;">)</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">IElecSystemDDlDao</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">elecSystemDDlDao</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div><div><span style="font-size: 11pt;"><span style="font-family: Consolas;"><br/></span></span></div><div><span style="font-size: 32px;"><span style="font-family: Consolas;">9，在form层中创建对应页面的VO对象的类文件</span></span></div><div align="left" style="min-height: 13pt;"><font color="#646464" face="Consolas"><span style="font-size: 11pt;">@SuppressWarnings</span></font><font face="Consolas"><span style="font-size: 11pt;">(</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;serial&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">)</span></font></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>class</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ElecSystemDDlForm</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>implements</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">Serializable{</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">seqID</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">keyword</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String getSeqID() {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">seqID</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>void</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">setSeqID(String</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">seqID</span></font><font face="Consolas"><span style="font-size: 11pt;">) {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>this</b></span></font><font face="Consolas"><span style="font-size: 11pt;">.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">seqID</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">seqID</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String getKeyword() {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">keyword</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>void</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">setKeyword(String</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">keyword</span></font><font face="Consolas"><span style="font-size: 11pt;">) {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>this</b></span></font><font face="Consolas"><span style="font-size: 11pt;">.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">keyword</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">keyword</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String getDdlCode() {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>void</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">setDdlCode(String</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font><font face="Consolas"><span style="font-size: 11pt;">) {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>this</b></span></font><font face="Consolas"><span style="font-size: 11pt;">.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">ddlCode</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String getDdlName() {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>void</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">setDdlName(String</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font><font face="Consolas"><span style="font-size: 11pt;">) {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>this</b></span></font><font face="Consolas"><span style="font-size: 11pt;">.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">ddlName</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div></div></div><div><br/></div><div><span style="font-size: 32px;">10，在action层中 创建类文件</span></div><div><br/></div><div align="left" style="min-height: 13pt;"><font color="#646464" face="Consolas"><span style="font-size: 11pt;">@SuppressWarnings</span></font><font face="Consolas"><span style="font-size: 11pt;">(</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;serial&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">)</span></font></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>class</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ElecSystemDDlAction</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>extends</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">BaseAction</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>implements</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ModelDriven&lt;ElecSystemDDlForm&gt;{</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#3F7F5F" face="Consolas"><span style="font-size: 11pt;">//容器层</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">IElecSystemDDlService</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;"><u>elecSystemDDlService</u></span></font> <font face="Consolas"><span style="font-size: 11pt;">= (IElecSystemDDlService) ServiceProvider.</span><span style="font-size: 11pt;"><i>getService</i></span><span style="font-size: 11pt;">(IElecSystemDDlService.</span></font><font color="#0000C0" face="Consolas"><span style="font-size: 11pt;"><b><i>SERVICE_NAME</i></b></span></font><font face="Consolas"><span style="font-size: 11pt;">);</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>private</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ElecSystemDDlForm</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">elecSystemDDlForm</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>new</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ElecSystemDDlForm();</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ElecSystemDDlForm getModel() {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">elecSystemDDlForm</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div><div><span style="font-size: 11pt;"><span style="font-family: Consolas;"><br/></span></span></div><div><span style="font-size: 32px;"><span style="font-family: Consolas;">11，在action编辑页面的对应处理方法</span></span></div><div align="left" style="min-height: 13pt;"><div><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>     public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String home(){</span></font></div></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;home&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">      }</span></font></div></div><div><span style="font-size: 11pt;"><span style="font-family: Consolas;"><br/></span></span></div></div><div><span style="font-size: 32px;">12, 在struts中配置路径</span></div><div align="left" style="min-height: 13pt;"><div><font color="#3F5FBF" face="Consolas"><span style="font-size: 11pt;">&lt;!-- 数据字典 --&gt;</span></font></div></div><div align="left" style="min-height: 13pt;"><div><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">action</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i><b><span style="color: rgb(255, 70, 53);">&quot;elecSystemDDlAction_*</span></b>&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">class</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;cn.baater.elec.web.action.ElecSystemDDlAction&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">method</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;{1}&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">       </span></font> <font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">result</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt;">name</span></font><font face="Consolas"><span style="font-size: 11pt;">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;"><i>&quot;home&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">             /WEB-INF/page/system/dictionaryIndex.jsp</span></font></div></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">       </span></font> <font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">result</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div></div><div align="left" style="min-height: 13pt;"><div><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt;">action</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt;">&gt;</span></font></div><div><span style="color: rgb(255, 0, 0);"><font face="Consolas"><span style="font-size: 15px;">注意：action标签的属性name的大小写，必须跟页中访问的路径一样写。</span></font></span></div></div><div><span style="font-size: 32px;">13，在左侧的菜单中设置路径</span></div><div align="left" style="min-height: 13pt;"><div><font color="#008080" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">&lt;</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt; background: rgb(212, 212, 212);">A</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">class</span></font><font face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);"><i>&quot;cl_01&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">onclick</span></font><font face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">&quot;linkcolorchange(this)&quot;</span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">href</span></font><font face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);"><i>&quot;</i></span></font><font face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">${pageContext.request.contextPath }</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);"><i>/system/elecSystemDDlAction_home.do&quot;</i></span></font> <font color="#7F007F" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">target</span></font><font face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">=</span></font><font color="#2A00FF" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);"><i>&quot;mainFrame&quot;</i></span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">&gt;</span></font><font face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">数据字典维护</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">&lt;/</span></font><font color="#3F7F7F" face="Consolas"><span style="font-size: 11pt; background: rgb(212, 212, 212);">A</span></font><font color="#008080" face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">&gt;</span></font></div></div><div><br/></div><div><span style="font-size: 24px;"><span style="color: rgb(54, 101, 238);"><b>到这儿，页面的显示完成！</b></span></span></div><div><br/></div><div><br/></div><div><b><span style="font-size: 48px;">功能的实现：</span></b></div><div><br/></div><div><br/></div><div><span style="font-size: 48px;"><b>数据类型查询功能实现：</b></span></div><div><br/></div><div><br/></div><div><span style="font-size: 32px;">1，首先在action中添加方法</span></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String home(){</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#3F7F5F" face="Consolas"><span style="font-size: 11pt;">//查询所有的关键字</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            List&lt;ElecSystemDDlForm&gt;</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">list</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;">elecSystemDDlService</span></font><font face="Consolas"><span style="font-size: 11pt;">.</span><b><span style="font-size: 11pt;">findKeyWord</span></b><span style="font-size: 11pt;"><b>()</b>;</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;home&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div></div><div><br/></div><div><span style="font-size: 32px;">2，然后在<font face="Consolas"><span style="background-color: rgb(232, 242, 254);">IElecSystemDDlService中，创建</span></font>方法<font face="Consolas"><b>findKeyWord(),</b></font></span></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>interface</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">IElecSystemDDlService {</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>final</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>static</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;"><b><i>SERVICE_NAME</i></b></span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;cn.baater.elec.service.impl.ElecSystemDDlssServiceImpl&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      List&lt;Object&gt; findKeyWord();</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div></div><div><br/></div><div><span style="font-size: 32px;">3, 在<font face="Consolas"><span style="background-color: rgb(232, 242, 254);">ElecSystemDDlServiceImpl</span></font>中实现方法findKeyWord()</span></div><div align="left" style="min-height: 13pt;"><div><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">List&lt;</span></font><font face="Consolas"><span style="font-size: 11pt; background: rgb(232, 242, 254);">ElecSystemDDlForm</span></font><font face="Consolas"><span style="font-size: 11pt;">&gt; findKeyWord() {</span></font></div></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#3F7F5F" face="Consolas"><span style="font-size: 11pt;">//在serviceImpl层，调用Dao中的方法</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">            List&lt;</span></font><font face="Consolas"><span style="font-size: 11pt;">Object</span></font> <font face="Consolas"><span style="font-size: 11pt;">&gt;</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;"><u>list</u></span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <span style="color: rgb(255, 0, 0);"><font face="Consolas"><span style="font-size: 11pt;">elecSystemDDlDao</span></font></span><font face="Consolas"><span style="font-size: 11pt;">.findKeyWord();</span></font></div></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>null</b></span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div></div><div><br/></div><div><span style="font-size: 32px;">4,在ElecSystemDDlDao层中创建被调用的方法</span></div><div><br/></div><div align="left" style="min-height: 13pt;"><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>interface</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">IElecSystemDDlDao</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>extends</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">ICommonDao&lt;ElecSystemDDl&gt; {</span></font></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">      </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>final</b></span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>static</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">String</span></font> <font color="#0000C0" face="Consolas"><span style="font-size: 11pt;"><b><i>SERVICE_NAME</i></b></span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;cn.baater.elec.dao.impl.ElecSystemDDlDaoImpl&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">      List&lt;</span></font><font face="Consolas"><span style="font-size: 11pt;">Object</span></font> <font face="Consolas"><span style="font-size: 11pt;">&gt; findKeyWord();</span></font></div></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div><div><span style="font-size: 32px;"><span style="font-family: Consolas;">5，在</span><font face="Consolas">IElecSystemDDlDaoImpl中实现具体方法</font></span></div><div><span style="font-size: 11pt;"><span style="font-family: Consolas;"><br/></span></span></div><div align="left" style="min-height: 13pt;"><div><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>public</b></span></font> <font face="Consolas"><span style="font-size: 11pt;">List&lt;</span></font><font face="Consolas"><span style="font-size: 11pt;">Object</span></font> <font face="Consolas"><span style="font-size: 11pt;">&gt; findKeyWord() {</span></font></div></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            String</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">hql</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#2A00FF" face="Consolas"><span style="font-size: 11pt;">&quot;select distinct o.keyword from ElecSystemDDl o&quot;</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">            List&lt;</span></font><font face="Consolas"><span style="font-size: 11pt;">Object</span></font> <font face="Consolas"><span style="font-size: 11pt;">&gt;</span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">list</span></font> <font face="Consolas"><span style="font-size: 11pt;">=</span></font> <font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b><u>this</u></b></span></font><font face="Consolas"><span style="font-size: 11pt;"><u>.getHibernateTemplate().find(</u></span></font><font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;"><u>hql</u></span></font><font face="Consolas"><span style="font-size: 11pt;"><u>)</u></span><span style="font-size: 11pt;">;</span></font></div></div><div align="left" style="min-height: 13pt;"><font face="Consolas"><span style="font-size: 11pt;">            </span></font><font color="#7F0055" face="Consolas"><span style="font-size: 11pt;"><b>return</b></span></font> <font color="#6A3E3E" face="Consolas"><span style="font-size: 11pt;">list</span></font><font face="Consolas"><span style="font-size: 11pt;">;</span></font></div><div align="left" style="min-height: 13pt;"><div><font face="Consolas"><span style="font-size: 11pt;">}</span></font></div></div></div><div><span style="font-size: 32px;">6，通过</span><span style="font-size: 32px;">ElecSystemDDl</span> <span style="font-size: 32px;">DaoImpl中调用findKeyWord()方法，获取的到的值在ElecSystemDDlServiceImpl中具体处理：</span></div><div align="left" style="min-height: 10pt;"><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>public</b></span></font> <font face="Courier New" size="2"><span style="font-size:10pt">List&lt;ElecSystemDDlForm&gt; findKeyWord() {</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//在serviceImpl层，调用</span><span style="font-size:10pt"><u>Dao</u></span><span style="font-size:10pt">中的方法</span></font></div><div align="left" style="min-height: 10pt;"><div><font face="Courier New" size="2"><span style="font-size:10pt">            List&lt;Object&gt;</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">list</span></font> <font face="Courier New" size="2"><span style="font-size:10pt">=</span></font> <font color="#0000C0" face="Courier New" size="2"><span style="font-size:10pt">elecSystemDDlDao</span></font><font face="Courier New" size="2"><span style="font-size:10pt">.findKeyWord(); </span></font> <font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//返回的是object数组</span></font></div></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>return</b></span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">formList</span></font><font face="Courier New" size="2"><span style="font-size:10pt">; </span></font> <font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//return给了action中，在action中接受</span></font></div><div align="left" style="min-height: 10pt;"><div><font face="Courier New" size="2"><span style="font-size:10pt">}</span></font></div></div><div><br/></div><div><br/></div><div><span style="font-size: 32px;">7, ElecSystemDDlServiceImpl中返回的对象，转换为VO对象，并抽出来实现方法</span></div><div align="left" style="min-height: 10pt;"><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>public</b></span></font> <font face="Courier New" size="2"><span style="font-size:10pt">List&lt;ElecSystemDDlForm&gt; findKeyWord() {</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//在serviceImpl层，调用</span><span style="font-size:10pt"><u>Dao</u></span><span style="font-size:10pt">中的方法</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            List&lt;Object&gt;</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">list</span></font> <font face="Courier New" size="2"><span style="font-size:10pt">=</span></font> <font color="#0000C0" face="Courier New" size="2"><span style="font-size:10pt">elecSystemDDlDao</span></font><font face="Courier New" size="2"><span style="font-size:10pt">.findKeyWord(); </span></font> <font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//返回的是object数组</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//PO对象转VO对象</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            List&lt;ElecSystemDDlForm&gt;</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">formList</span></font> <font face="Courier New" size="2"><span style="font-size:10pt">=</span></font> <font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>this</b></span></font><font face="Courier New" size="2"><span style="font-size:10pt">.<span style="color: rgb(255, 0, 0);">elecSystemDDlObjectToVO</span>(</span></font><font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">list</span></font><font face="Courier New" size="2"><span style="font-size:10pt">);</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font></div><div align="left" style="min-height: 10pt;"><div><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>return</b></span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">formList</span></font><font face="Courier New" size="2"><span style="font-size:10pt">; </span></font> <font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//return给了action中，在action中接受</span></font></div><div><span style="font-family: 'Courier New';"><span style="color: rgb(63, 127, 95);">}</span></span></div></div><div><br/></div><div><span style="font-size: 32px;">8，在本class中创建<font face="Courier New"><span style="color: rgb(255, 0, 0);">elecSystemDDlObjectToVO()方法</span></font></span></div><div align="left" style="min-height: 10pt;"><div><font face="Courier New" size="2"><span style="font-size:10pt">      </span></font><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>private</b></span></font> <font face="Courier New" size="2"><span style="font-size:10pt">List&lt;ElecSystemDDlForm&gt; elecSystemDDlObjectToVO(List&lt;Object&gt;</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">list</span></font><font face="Courier New" size="2"><span style="font-size:10pt">) {</span></font></div></div><div align="left" style="min-height: 10pt;"><div align="left" style="min-height: 10pt;"><div><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">            //创建空list</span></font></div></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            List&lt;ElecSystemDDlForm&gt;</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">formList</span></font> <font face="Courier New" size="2"><span style="font-size:10pt">=</span></font> <font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>new</b></span></font> <font face="Courier New" size="2"><span style="font-size:10pt">ArrayList&lt;ElecSystemDDlForm&gt;();</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//在循环为实例化</span></font></div><div align="left" style="min-height: 10pt;"><div><font face="Courier New" size="2"><span style="font-size:10pt">            ElecSystemDDlForm</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">elecSystemDDlForm</span></font> <font face="Courier New" size="2"><span style="font-size:10pt">=</span></font> <font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>null</b></span></font><font face="Courier New" size="2"><span style="font-size:10pt">;</span></font></div></div></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>for</b></span></font><font face="Courier New" size="2"><span style="font-size:10pt">(</span></font><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>int</b></span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">i</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=0;</span></font><font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">list</span></font> <font face="Courier New" size="2"><span style="font-size:10pt">!=</span></font> <font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>null</b></span></font> <font face="Courier New" size="2"><span style="font-size:10pt">&amp;&amp;</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">i</span></font><font face="Courier New" size="2"><span style="font-size:10pt">&lt;</span></font><font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">list</span></font><font face="Courier New" size="2"><span style="font-size:10pt">.size();</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">i</span></font><font face="Courier New" size="2"><span style="font-size:10pt">++){</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">                  </span></font><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//获取每个object对象</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">                  Object</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">object</span></font> <font face="Courier New" size="2"><span style="font-size:10pt">=</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">list</span></font><font face="Courier New" size="2"><span style="font-size:10pt">.get(</span></font><font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">i</span></font><font face="Courier New" size="2"><span style="font-size:10pt">);</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">                  </span></font><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//实例化 VO对象</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">                  </span></font><font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">elecSystemDDlForm</span></font> <font face="Courier New" size="2"><span style="font-size:10pt">=</span></font> <font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>new</b></span></font> <font face="Courier New" size="2"><span style="font-size:10pt">ElecSystemDDlForm();</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">                  </span></font><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//设置VO对象</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">                  </span></font><font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">elecSystemDDlForm</span></font><font face="Courier New" size="2"><span style="font-size:10pt">.setKeyword(</span></font><font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">object</span></font><font face="Courier New" size="2"><span style="font-size:10pt">.toString());</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">                  </span></font><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//保存到新创建的容器formList中</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">                  </span></font><font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">formList</span></font><font face="Courier New" size="2"><span style="font-size:10pt">.add(</span></font><font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">elecSystemDDlForm</span></font><font face="Courier New" size="2"><span style="font-size:10pt">);</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            }</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>return</b></span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">formList</span></font><font face="Courier New" size="2"><span style="font-size:10pt">;</span></font></div><div align="left" style="min-height: 10pt;"><div><font face="Courier New" size="2"><span style="font-size:10pt">      }</span></font></div></div><div><br/></div><div><span style="font-size: 32px;">9，</span> <span style="color: rgb(0, 0, 0); font-family: 微软雅黑; font-size: 32px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;">在ElecSystemDDlServiceImpl中</span><span style="font-size: 32px;">获取的到的值返回值，返回到</span><span style="color: rgb(0, 0, 0); font-family: 微软雅黑; font-size: 32px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;">ElecSystemDDl</span> <span style="font-size: 32px;">Action中</span></div><div align="left" style="min-height: 10pt;"><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>public</b></span></font> <font face="Courier New" size="2"><span style="font-size:10pt">String home(){</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//查询所有的关键字</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            List&lt;ElecSystemDDlForm&gt;</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">list</span></font> <font face="Courier New" size="2"><span style="font-size:10pt">=</span></font> <font color="#0000C0" face="Courier New" size="2"><span style="font-size:10pt">elecSystemDDlService</span></font><font face="Courier New" size="2"><span style="font-size:10pt">.findKeyWord();</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#0000C0" face="Courier New" size="2"><span style="font-size:10pt">request</span></font><font face="Courier New" size="2"><span style="font-size:10pt">.setAttribute(</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt">&quot;systemList&quot;</span></font><font face="Courier New" size="2"><span style="font-size:10pt">,</span></font> <font color="#6A3E3E" face="Courier New" size="2"><span style="font-size:10pt">list</span></font><font face="Courier New" size="2"><span style="font-size:10pt">);  </span></font> <font color="#3F7F5F" face="Courier New" size="2"><span style="font-size:10pt">//推送到了</span><span style="font-size:10pt"><u>jsp</u></span><span style="font-size:10pt">页面中</span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">            </span></font><font color="#7F0055" face="Courier New" size="2"><span style="font-size:10pt"><b>return</b></span></font> <font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt">&quot;home&quot;</span></font><font face="Courier New" size="2"><span style="font-size:10pt">;</span></font></div><div align="left" style="min-height: 10pt;"><div><font face="Courier New" size="2"><span style="font-size:10pt">}</span></font></div></div><div><br/></div><div><span style="font-size: 32px;">10，</span><span style="color: rgb(0, 0, 0); font-family: 微软雅黑; font-size: 32px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;">ElecSystemDDl</span> <span style="font-size: 32px;">Action中request的值推送到jsp页面并渲染</span></div><div align="left" style="min-height: 10pt;"><font color="#008080" face="Courier New" size="2"><span style="font-size:10pt">&lt;</span></font><font color="#3F7F7F" face="Courier New" size="2"><span style="font-size:10pt; background:#d4d4d4">s:select</span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">list</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;#request.systemList&quot;</i></span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">listKey</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;keyword&quot;</i></span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">listValue</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;keyword&quot;</i></span></font></div><div align="left" style="min-height: 10pt;"><div><font color="#010101" face="Courier New" size="2"><span style="font-size:10pt">                         </span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">id</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;keyword&quot;</i></span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">name</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;keyword&quot;</i></span></font></div></div><div align="left" style="min-height: 10pt;"><div><font color="#010101" face="Courier New" size="2"><span style="font-size:10pt">                         </span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">cssStyle</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;width:180px&quot;</i></span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">cssClass</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;bg&quot;</i></span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">onchange</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;changetype()&quot;</i></span></font></div></div><div align="left" style="min-height: 10pt;"><div><font color="#010101" face="Courier New" size="2"><span style="font-size:10pt">                         </span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">headerKey</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;jerrynew&quot;</i></span></font> <font color="#7F007F" face="Courier New" size="2"><span style="font-size:10pt">headerValue</span></font><font face="Courier New" size="2"><span style="font-size:10pt">=</span></font><font color="#2A00FF" face="Courier New" size="2"><span style="font-size:10pt"><i>&quot;&quot;</i></span></font><font color="#008080" face="Courier New" size="2"><span style="font-size:10pt">&gt;</span></font></div></div><div align="left" style="min-height: 10pt;"><font face="Courier New" size="2"><span style="font-size:10pt">                              </span></font></div><div align="left" style="min-height: 10pt;"><div><font color="#008080" face="Courier New" size="2"><span style="font-size:10pt">&lt;/</span></font><font color="#3F7F7F" face="Courier New" size="2"><span style="font-size:10pt; background:#d4d4d4">s:select</span></font><font color="#008080" face="Courier New" size="2"><span style="font-size:10pt">&gt;</span></font></div></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div><div><br/></div></div></div><div><br/></div></span>
</div></body></html> 